package com.ruandi.test15;

public class FuMC {
    //属性
    private String name;
    private int id;
    private int salary;

    //构造参数
    public FuMC() {
    }
    public FuMC(String name, int id, int salary) {
        this.name = name;
        this.id = id;
        this.salary = salary;
    }

    //setter and getter
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getSalary() {
        return salary;
    }
    public void setSalary(int salary) {
        this.salary = salary;
    }

}
